import request from '@/utils/request'

//查询物资清单（分页)
export function GetItemList(data) {
	return request({
		url: 'pda/md/item/list',
		headers: {
			isToken: true
		},
		method: 'post',
		data: data
	})
}

//查询仓储信息树形数据
export function GetStorageTree(data) {
	return request({
		url: 'pda/md/mdstorage/tree',
		headers: {
			isToken: true
		},
		method: 'post',
		data: data
	})
}

//查询仓储信息列表
export function GetStorageList(data) {
	return request({
		url: 'pda/md/mdstorage/list',
		headers: {
			isToken: true
		},
		method: 'post',
		data: data
	})
}

//根据仓储ID查询仓储信息详情
export function GetStorageInfo(storageId) {
	return request({
		url: 'pda/md/mdstorage/' + storageId,
		headers: {
			isToken: true
		},
		method: 'get'
	})
}